function adjustPtDropdown(){
	var subjValue = $('#subjDropdown').val();
	var dropdownSet = $('#ptDropdown');
	if (subjValue.length == 0){
		dropdownSet.attr("disabled", true);
		dropdownSet.emptySelect();
	}
	else {
		dropdownSet.attr("disabled", false);
		$.ajax({
			url: 'pt_list',
			dataType: 'json',
			data: {subj:subjValue},
			success: function(data){
				dropdownSet.loadSelect(data);
			}
		});
		
		$("#error").ajaxError(function(event, request, settings){
			//console.log(event);
  		$(this).append("<li>Error requesting page " + settings.url + "</li>");
		});
	}
}